var series = {
  typeId: '',
  index: 0,
  init: function (typeId) {
    this.typeId = typeId
    this.getList()
  },
  getList: function () {
    if (!this.typeId) return
    var data = getLiveListByTypeId(this.typeId)
    page.data.series = data.data
  },
  next: function () {
    this.index = ++this.index % page.data.series.length
  }
}